package com.yunji.base.dao;

import com.yunji.base.domain.SiteScaleDO;
import com.yunji.base.vo.SiteScaleVO;
import com.yunji.common.base.IBaseDao;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/11/7 20:00
 * @description : TODO
 **/
public interface ISiteScaleDao extends IBaseDao<SiteScaleDO> {
    List<SiteScaleDO> search(SiteScaleDO scaleDO);

    void deleteBySiteId(Long siteId);

    List<SiteScaleDO> getByAuditId(Long auditId);

    List<SiteScaleDO> listScaleBySiteIds(List<Long> siteIds);

    List<SiteScaleDO> listBySiteId(Long siteId);

    void setSiteIdByAuditId(Long siteId,Long auditId);

    void deleteByAuditId(Long auditId);
}
